<html>
<head>
<meta charset="UTF-8">
<title>流程基本信息详情</title>
<link id="easyuiTheme" href="../../static/easyui/themes/bootstrap/easyui.css" rel="stylesheet" type="text/css"/>
<link href="../../static/easyui/themes/icon.css" rel="stylesheet" type="text/css"/>
<link href="../../static/css/esaas-easyui-edit.css" rel="stylesheet" type="text/css"/>
<script src="../../static/easyui/jquery.min.js" type="text/javascript"></script>
	<script src="../../static/easyui/jquery.cookie.js" type="text/javascript"></script>
	<script src="../../static/easyui/ui-theme.js" type="text/javascript"></script>
<script src="../../static/easyui/jquery.easyui.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../../static/easyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.util.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.jquery.ajax.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.easyui.util.js" type="text/javascript"></script>
<script src="../../ffres/dict/all.js" type="text/javascript"></script>
<a href="" target="_blank" id="commonLink" name="commonLink"></a>
</head>
<body class="easyui-layout">

	    <form id="ff" method="post">
	    	<div class="esaas-info-title">流程基本信息</div>
	    	<table class="esaas-info-edit-table">
			<tr>
				<td width="15%" align="right">流程标识：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
									   name="bpmId" data-options="required:true"
									   style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">子系统代码：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
									   name="subsCode" data-options="required:false"
									   style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">流程编号：</td>
				<td width="35%" ><input class="easyui-textbox" type="text" disabled
										id="bpmCode" name="bpmCode" data-options="required:false"
										style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">流程名称：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="bpmName" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">任务并发数：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="equallyTaskAmount" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">分类标签：</td>
				<td width="35%"><select class="easyui-combobox"
										id="categoryTag" name="categoryTag"
										style="width: 100%; height: 25px;" disabled
										data-options="required:false,editable:false,valueField:'enname',textField:'cnname'">
					<option value="continuous">持续部署</option>
					<option value="canual">手工部署</option>
					<option value="SOAM">系统运维</option>
					<option value="dataOperations">数据运维</option>
					<option value="elasticScaling">弹性伸缩</option>
					<option value="machineResources">机器资源</option>
				</select></td>

			</tr>
			<tr>
				<td width="15%" align="right">创建人：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="createUser" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">创建时间：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
									   name="createTime" data-options="required:false"
									   style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>

				<td width="15%" align="right">最后更新人：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="lastUpdateUser" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">最后修改时间：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
									   name="lastUpdateTime" data-options="required:false"
									   style="width: 100%; height: 25px;"></input></td>
			</tr>

			<tr>
				<td width="15%" align="right">是否生效：</td>
				<td width="35%"><select class="easyui-combobox" disabled
										id="effectState" name="effectState"
										style="width: 100%; height: 25px;"
										data-options="required:false,editable:false,valueField:'enname',textField:'cnname',data:STD_PUB_YN">
				</select></td>
				<td width="15%" align="right">是否最新版本：</td>
				<td width="35%"><select class="easyui-combobox" disabled
										id="latestState" name="latestState"
										style="width: 100%; height: 25px;"
										data-options="required:false,editable:false,valueField:'enname',textField:'cnname',data:STD_PUB_YN">
				</select></td>
			</tr>
			<tr>
				<td width="15%" align="right">是否允许重跑：</td>
				<td width="35%"><select class="easyui-combobox"
										id="isRunAgain" name="isRunAgain"
										style="width: 100%; height: 25px;" disabled
										data-options="required:false,editable:false,valueField:'enname',textField:'cnname',data:STD_PUB_YN">
				</select></td>
			</tr>
	    	</table>
	    </form>
		<div style="text-align:center;padding:15px">
			<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel" onclick="closeForm()">&nbsp;关&nbsp;闭&nbsp;</a>
		</div>
	</div>
	<script>


		$(function() {
            addTitle("查看");

            var bpmId = $.getUrlParam('bpmId');
			$.restfulGet('../../api/bpm/base/info/' + bpmId,null,function(data){
					$('#ff').form('load', {
						bpmId : data.rows.bpmId,
						bpmCode:data.rows.bpmCode,
						bpmName : data.rows.bpmName,
						equallyTaskAmount : data.rows.equallyTaskAmount,
						isRunAgain : data.rows.isRunAgain,
						subsCode : data.rows.subsCode,
						createUser : data.rows.createUser,
						createTime : data.rows.createTime,
						lastUpdateUser : data.rows.lastUpdateUser,
						lastUpdateTime : data.rows.lastUpdateTime,
						effectState:data.rows.effectState,
						latestState:data.rows.latestState

					});
			});
		});
		function closeForm(){
			window.parent.JLEUtil.closewin();
		}
	</script>
</body>
</html>
